import {get, post} from './axios'

// 用户列表
const getUserList = async function(data) {
    const url = `/admin/signMember/list`
    return await get(url, data)
}

// 用户列表
const bindCompanyPersonal = async function(data) {
    const url = `/admin/signMember/bind`
    return await post(url, data)
}

// 登入
 const login = async function(data) {
    const url = `/admin/visitor/login`
    return await post(url, data)
}
// 退出登陆
const logout = async function(data) {
    const url = `/admin/visitor/logout`
    return await get(url, data)
}
export {
    getUserList,
    bindCompanyPersonal,
    login,
    logout
}
